import org.joda.time.DateTime;
import org.joda.time.Days;
import org.junit.jupiter.api.Test;

import java.util.Date;

public class time {


    @Test
    public static void main(String[] sac) {
        //startTime 开始时间
        //endTime 结束时间
//
//        DateTime dt1 = new DateTime("2022-04-24 09:56:23");
//        DateTime dt2 = new DateTime(new Date());
//        int days= Days.daysBetween(dt1, dt2).getDays();
//        System.out.println(days);





    }


}
